CC      =arm-linux-gnueabihf-g++
#CC      = g++


CFLAGS   = -O3 -Wall -fkeep-inline-functions

INCPATH  = -I ./include/BasicUsageEnvironment -I ./include/groupsock -I./include/liveMedia -I./include/UsageEnvironment

BINS     =-L. -lLiveClient -pthread -lrt
OBJECTS_DIR = ./
TARGET=main
all:
	$(CC)  $(CFLAGS)  $(INCPATH) -c main.cpp
	$(CC)  $(LINKOBJ) -o main main.o $(BINS)
	rm *.o
	mv $(TARGET) ../bin
clean:
	rm -rf main *.o 